<?
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
include_once("../controller/delete.php");
?>



<?php
$new_detail_nid=$_GET['nid'];

$table=$table_Prefix."employee";

$sql = " DELETE FROM $table WHERE nid= '$new_detail_nid'";
$query=do_query($sql) or die (mysqli_error().'删除数据失败');
mysqli_close($con);

echo 1;//表示成功


?>


